package action;

import rmi.ComManager;
import bean.Message;
import bean.UpdateUserMessage;

public class ActionUpdateUser implements Action{
	UpdateUserMessage mOut;
	public ActionUpdateUser(Message m){
		mOut = (UpdateUserMessage)m; 
	}
	public Message call(){		
		ComManager com = new ComManager();
		UpdateUserMessage mIn = (UpdateUserMessage)com.comRmi(mOut);
		return mIn;	
	}

}
